package com.itheima.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
//商品添加购物车
public class OmsCartItem implements Serializable {
    private Long id;//
    private Long productId;//商品id
    private Long productSkuId;//商品条码id
    private Long memberId;//用户id
    private Integer quantity;//购买数量
    private BigDecimal price;//添加到购物车的价格
    private String productPic;//商品主图
    private String productName;//商品名称
    private String productSubTitle;//商品副标题（卖点）
    private String productSkuCode;//商品sku条码
    private String memberNickname;//会员昵称
    private LocalDateTime createDate;//创建时间
    private LocalDateTime modifyDate;//修改时间
    private Integer deleteStatus;//是否删除
    private Long productCategoryId;//商品分类
    private String productBrand;//
    private String productSn;//
    private String productAttr;//商品销售属性:[{"key":"颜色","value":"颜色"},{"key":"容量","value":"4G"}]

}
